package LocalStorage

import (
	"KumquatDrivesServices/StorageEngine"
	"os"
)

func (Le LocalEngine) DelTempFile(uploadID StorageEngine.EngineID) error {
	tmpPath := Le.getTmpFilePath(uploadID)
	if err := os.RemoveAll(tmpPath); err != nil {
		return err
	}
	return nil
}
